package com.rongxue.mapper;

import com.rongxue.pojo.SRepaymentDetail;
import com.rongxue.pojo.SRepaymentDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SRepaymentDetailMapper {
    int countByExample(SRepaymentDetailExample example);

    int deleteByExample(SRepaymentDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SRepaymentDetail record);

    int insertSelective(SRepaymentDetail record);

    List<SRepaymentDetail> selectByExample(SRepaymentDetailExample example);

    SRepaymentDetail selectByPrimaryKey(Long id);

    List<SRepaymentDetail> selectByProjectId(Integer id);

    int updateByExampleSelective(@Param("record") SRepaymentDetail record, @Param("example") SRepaymentDetailExample example);

    int updateByExample(@Param("record") SRepaymentDetail record, @Param("example") SRepaymentDetailExample example);

    int updateByPrimaryKeySelective(SRepaymentDetail record);

    int updateByPrimaryKey(SRepaymentDetail record);
}